﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Manhua2.Provider
{
    public class ComicProviderFactory
    {
        public static IComicProvider Create(string name)
        {
            switch (name)
            {
                case "acg178":
                    return new Acg178Provider();

                case "4399":
                    return new DM4399Provider();

                case "bengou":
                    return new BenGouProvider();

                case "sfacg":
                    return new SFACGProvider();

                default:
                    return null;
            }
        }
    }
}
